aboutsummaryrefslogtreecommitdiff
path: root/src/app/manga/[title]
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-04-06 15:38:39 +0530
committerGitHub <[email protected]>2024-04-06 15:38:39 +0530
commit99e977342c2bc4aa3f6b930dfab80a7dc9f5eee3 (patch)
treee5ea8e64e27778ce468431138775bf9f6dc3874b /src/app/manga/[title]
parentUI Upgrades for anime section. (diff)
parentadded search functionality (diff)
downloaddramalama-99e977342c2bc4aa3f6b930dfab80a7dc9f5eee3.tar.xz
dramalama-99e977342c2bc4aa3f6b930dfab80a7dc9f5eee3.zip
Merge pull request #2 from real-zephex/kdrama-section-rewrite
The kdrama section underwent a complete rewrite.
Diffstat (limited to 'src/app/manga/[title]')
-rw-r--r--src/app/manga/[title]/[id]/page.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/manga/[title]/[id]/page.jsx b/src/app/manga/[title]/[id]/page.jsx
index 5b54e23..1e4a26f 100644
--- a/src/app/manga/[title]/[id]/page.jsx
+++ b/src/app/manga/[title]/[id]/page.jsx
@@ -119,7 +119,8 @@ export default async function MangaInfo({ params }) {
async function getMangaInfo(id) {
const res = await fetch(
- `https://consumet-api-di2e.onrender.com/meta/anilist-manga/info/${id}?provider=mangadex`
+ `https://consumet-api-di2e.onrender.com/meta/anilist-manga/info/${id}?provider=mangadex`,
+ { next: { revalidate: 86400 } }
);
const data = await res.json();
return data;